package pers.lance.exam.dao;

import pers.lance.exam.pojo.Base;

import java.util.List;

/**
 * @ Author     ：LILA3
 * @ Date       ：Created in 2:00 PM 7/31/2018
 */
public interface CommonDao<T> {
    T add(T t);

    T delete(T t);

    List<T> findAll();

    T findById(T t);
}
